﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.Common;

namespace Hallenberg.SmartClient.Services
{
    internal class ResourceCache
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
        public string GetString(string resourceName, Type resourceType)
        {
            return ResourceStringLoader.LoadString(
                resourceType.FullName,
                resourceName,
                resourceType.Assembly);
        }
    }
}
